Click or drag to resize

ResourceLock Method (String, Int32)

Lock a resource based on the given parameters.

Namespace:  Independentsoft.Webdav
Assembly:  Independentsoft.Webdav (in Independentsoft.Webdav.dll) Version: 1.0.700.18437
Syntax
public ActiveLock Lock(
	string depth,
	int timeout
)

Parameters

depth
Type: SystemString
The depth of lock. Allowed values are: Depth.Zero and Depth.Infinity
timeout
Type: SystemInt32
The lock timeout in seconds.

Return Value

Type: ActiveLock
An ActiveLock as result of lock operation.
See Also